package com.wanghua.mall.ware.exception;

/**
 * @author wanghua
 * @create 2021-09-08 21:29
 */
public class NoStockException extends RuntimeException {
    private Long skuId;

    public NoStockException(Long skuId) {
        super("商品id为" + skuId + "的商品没有足够库存");
    }
}
